<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:c="http://java.sun.com/jstl/core"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:a4j="http://richfaces.org/a4j">
<body>

	<ui:composition template="template/template-login.xhtml">

		<ui:define name="miolo">

			<div align="center">
				<h:panelGrid columns="2">
					<h:outputText id="outSenha" value="Senha: " />
					<h:inputSecret id="inSenha" value="#{esqueciSenhaManagedbean.login.senha}" required="true" label="#{msgs.email}" valueChangeListener="#{esqueciSenhaManagedbean.validacaoSenha}"/>
					<br />
					<h:message for="inSenha" style="color:red"/>
						
					<h:outputText id="outConfirmarSenha" value="Confirmar Senha: " />
					<h:inputSecret id="inConfirmarSenha" value="#{esqueciSenhaManagedbean.confirmarSenha}" required="true" label="#{msgs.confirmarSenha}" valueChangeListener="#{esqueciSenhaManagedbean.confirmacaoSenha}"/>
					<br />
					<h:message for="inConfirmarSenha" style="color:red"/>
				</h:panelGrid>
	
				<h:commandButton action="#{esqueciSenhaManagedbean.alterarSenha}" value="Salvar" />
			</div>

		</ui:define>

	</ui:composition>

</body>
</html>
